import request from '@/utils/request'

// 查询采集点联网记录列表
export function listPointNetworkRecord(query) {
  return request({
    url: '/basic/pointNetworkRecord/list',
    method: 'get',
    params: query
  })
}

// 查询采集点联网记录详细
export function getPointNetworkRecord(id) {
  return request({
    url: '/basic/pointNetworkRecord/' + id,
    method: 'get'
  })
}

// 新增采集点联网记录
export function addPointNetworkRecord(data) {
  return request({
    url: '/basic/pointNetworkRecord',
    method: 'post',
    data: data
  })
}

// 修改采集点联网记录
export function updatePointNetworkRecord(data) {
  return request({
    url: '/basic/pointNetworkRecord',
    method: 'put',
    data: data
  })
}

// 删除采集点联网记录
export function delPointNetworkRecord(id) {
  return request({
    url: '/basic/pointNetworkRecord/' + id,
    method: 'delete'
  })
}

// 导出采集点联网记录
export function exportPointNetworkRecord(query) {
  return request({
    url: '/basic/pointNetworkRecord/export',
    method: 'get',
    params: query
  })
}